package com.codi.bus.core.vo;

import com.codi.base.domain.BaseDomain;
import lombok.Data;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 模块名
 *
 * @author shi.pengyan
 * @version 1.0 2017-09-01 10:08
 * @since 1.0
 */
@Data
@Accessors(chain = true)
public class UserBankVo extends BaseDomain {

    private Long userBankId;

    @NotBlank
    @Length(max = 60)
    private String bankAccountName;

    @NotBlank
    @Length(max = 64)
    private String bankName;

    @NotBlank
    private String bankCode;

    @NotBlank
    private String userBankNo;

    private String userBankOwner;

    private String userBankMobile;

    @NotBlank
    @Length(max = 100)
    private String bankBranchName;
//    @NotBlank
//    @Length(max = 100)
//    private String bankAddress;
//    @NotBlank
//    private String bankAddressCode;

    @NotBlank
    @Length(max = 12)
    private String branchbank;
}
